<?php

namespace App\Enums;

class BenefitsSceneEnum
{

    const SEARCH_FILTERS = ['code' => 'SEARCH_FILTERS', 'name' => '高级筛选'];
    const SHOW_MESSAGE = ['code' => 'SHOW_MESSAGE', 'name' => '隐藏你的信息'];
    const FUNCTION = ['code' => 'FUNCTION', 'name' => '升级你的体验'];
    const PERMISSION = ['code' => 'PERMISSION', 'name' => '管理权限'];

    public static function getCode($data)
    {
        return $data['code'];
    }

    public static function getName($data)
    {
        return $data['name'];
    }
}
